package com.jake.spring.mvc.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("map")
public class MapController {

    @PostMapping
    public Map<String, String> getMap(@RequestBody Map<String, String> map) {
        return map;
    }

}
